/*
* SMILParser
*
* Version 1.0
*
* Programmers: Jesse Louderback, Noah Pham, Chad Carpenter, and Marc Hindman
*/
package Message;

public class SMILObject {
	protected String type;
	protected String region;
	protected float startTime = 0.0f;
	protected float endTime = 0.0f;
	protected String data;

	public SMILObject(String whatType, float objectStartTime,
					  float objectEndTime, String dataToPass) {
		type = whatType;
		startTime = objectStartTime;
		endTime = objectEndTime;
		data = dataToPass;
	}
	public SMILObject(String whatType, float objectStartTime,
					  float objectEndTime, String dataToPass, String whatRegion) {
		type = whatType;
		startTime = objectStartTime;
		endTime = objectEndTime;
		data = dataToPass;
		region = whatRegion;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public float getStartTime() {
		return startTime;
	}

	public void setStartTime(float startTime) {
		this.startTime = startTime;
	}

	public float getEndTime() {
		return endTime;
	}

	public void setEndTime(float endTime) {
		this.endTime = endTime;
	}

	public String getData() {
		return data;
	}

	public void setData(String data) {
		this.data = data;
	}
	public String getRegion() {
		return region;
	}
	public void setRegion(String region) {
		this.region = region;
	}

}
